package com.Jano.service;

import com.Jano.dto.JsonResult;
import com.Jano.entity.User;

/**
 * @ClassName : UserService
 * @Description :
 * @Author : Jano
 * @Date: 2022-07-24 17:04
 */
public interface loginService {
    /**
     *登陆方法
     * @author zoumaoji
     * @date 2022/07/24 19:22\
     * @return com.Jano.dto.JsonResult
     */
    JsonResult login(User user);

    /**
     *退出登陆
     * @author zoumaoji
     * @date 2022/07/24 22:41
     * @return com.Jano.dto.JsonResult
     */
    JsonResult logout();
}
